//
//  ZKCommon.swift
//  Weibo
//
//  Created by 郑克哥哥 on 2017/7/27.
//  Copyright © 2017年 郑克哥哥. All rights reserved.
//

import UIKit

//切换根视图控制器的通知名
let SwitchRootViewController = "SwitchRootViewController"

//首页tabelView的重用标记
let HomeCell = "homeCell"

//首页配图collectionView的重用标记
let PictureCell = "PictureCell"

//当前屏幕的宽度
let ScreenWidth = UIScreen.main.bounds.size.width

//当前屏幕的高度
let ScreenHeight = UIScreen.main.bounds.size.height

//随机色
func RandomColor()->UIColor{
    
    let red = CGFloat(arc4random_uniform(256)) / 255.0
    
    let green = CGFloat(arc4random_uniform(256)) / 255.0
    
    let blue = CGFloat(arc4random_uniform(256)) / 255.0
    
    let color = UIColor(red: red, green: green, blue: blue, alpha: 1)
    
    return color
    
}
